<?xml version="1.0" encoding="UTF-8" ?>
<XMLDB PATH="local/datahub/importplugins/version1/db" VERSION="20110216" COMMENT="XMLDB file for common Data Hub version 1 import plugin"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:noNamespaceSchemaLocation="../../../../../lib/xmldb/xmldb.xsd"
>
  <TABLES>
    <TABLE NAME="dhimport_version1_mapping" COMMENT="Field mapping configuration for version 1 import plugin">
      <FIELDS>
        <FIELD NAME="id" TYPE="int" LENGTH="10" NOTNULL="true" UNSIGNED="true" SEQUENCE="true" NEXT="entitytype"/>
        <FIELD NAME="entitytype" TYPE="char" LENGTH="30" NOTNULL="true" SEQUENCE="false" COMMENT="The type of entity being operated on, e.g. course" PREVIOUS="id" NEXT="standardfieldname"/>
        <FIELD NAME="standardfieldname" TYPE="char" LENGTH="255" NOTNULL="true" SEQUENCE="false" COMMENT="The standard name of the field being mapped out" PREVIOUS="entitytype" NEXT="customfieldname"/>
        <FIELD NAME="customfieldname" TYPE="char" LENGTH="255" NOTNULL="true" SEQUENCE="false" COMMENT="The custom name of the field being mapped out" PREVIOUS="standardfieldname"/>
      </FIELDS>
      <KEYS>
        <KEY NAME="primary" TYPE="primary" FIELDS="id"/>
      </KEYS>
      <INDEXES>
        <INDEX NAME="entitytypestandardfieldname_ix" UNIQUE="true" FIELDS="entitytype, standardfieldname"/>
      </INDEXES>
    </TABLE>
  </TABLES>
</XMLDB>
